package com.example.j202411.service;

import com.example.j202411.Model.BusResponse;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

//调用示例
//https://api.lolimi.cn/API/che/api.php?type=text&city=深圳&line=深圳石油大厦
public interface BusService {
    @GET("API/che/api.php") // 替换为你的实际API端点
    Call<BusResponse> getBusInfo(
            @Query("type") String type,
            @Query("city") String city,
            @Query("line") String line,
            @Query("0") String direction
    );
}
